package com.example.music.ui.personal;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.example.music.room.AppDatabase;


public class PersonalViewModel extends ViewModel {

    private MutableLiveData<String> mText;
    private AppDatabase db;

    public PersonalViewModel() {
        mText = new MutableLiveData<>();
    }

    public void setDb(AppDatabase db) {
        this.db = db;
    }

    public LiveData<String> getText() {
        return mText;
    }

}